Elements used for data - driven testing 用于數據驅動測試的元素
Provides data source - specific information for data - driven testing 為數據驅動測試提供數據源特定的信息。
Specifies constants that indicate how data rows are accessed in data - driven testing 指定常數,這些常數指示如何在數據驅動測試中訪問數據行。
And lastname is the name of a valid column in the row associated with the current iteration of the data - driven test , lastname是以下行中某個有效列的名稱,該行與數據驅動的測試的當前迭代關聯。
You can double - click any one of the rows in this table to see additional details about that iteration of the data - driven test 可以雙擊此表中的任意一行,查看有關數據驅動測試迭代的其他詳細信息。
The framework provides an entirely different approach , although it is often used in conjunction with one or more data - driven testing strategies 雖然框架通常與一個或一個以上的數據驅動測試策略一同使用,但它本身卻提供了一種完全不同的方法。
A data - driven test is a unit test that you configure to be called repeatedly for each row of a data source ; the data from each row is available to each successive run of the test as input data 數據驅動型單元測試是一種配置為針對數據源的每一行重復進行調用的單元測試;每一行中的數據都作為輸入數據提供給每個后續的測試運行使用。
This property contains information including the name of the unit test that is currently running , the deployment directory , the names of log files , and for data - driven testing , the database to which you are connected 此屬性包含的信息包括:當前正在運行的單元測試的名稱、部署目錄、日志文件的名稱;對于數據驅動型測試,還包括所連接到的數據庫。
百科解釋
Data-driven testing (DDT) is a term used in the testing of computer software to describe testing done using a table of conditions directly as test inputs and verifiable outputs as well as the process where test environment settings and control are not hard-coded. In the simplest form the tester supplies the inputs from a row in the table and expects the outputs which occur in the same row.